package com.sweet.fourtimeoa.service;

import com.sweet.fourtimeoa.pojo.dto.DocumentList;
import com.sweet.fourtimeoa.pojo.dto.SystemUserQueryDto;
import com.sweet.fourtimeoa.pojo.entity.Departments;
import com.sweet.fourtimeoa.pojo.entity.Roles;
import com.sweet.fourtimeoa.pojo.vo.DepartmentVo;
import com.sweet.fourtimeoa.pojo.vo.PageVo;

import java.util.List;

public interface SystemService {
    PageVo<Roles> queryRolesList(Integer pageNum, Integer pageSize);
    //角色管理_添加
    void insertRoles(String roleName1);
    //角色管理_删除
    void deleteRoles(Integer roleId);
    //角色管理_修改
    void updateRoles(Roles roles);
    //角色管理_修改_获取数据
    Roles getByUpdateRoles(Integer roleId);

    List<DepartmentVo> getAllDepartment();

    Departments getDepartmentsById(Integer id);

    void updateDepartments(Departments departments);

    void insertDepartment(Departments departments);

    void deleteDepartment(Integer id);
}
